<?php

class Member extends User
{
	private $member;
	
	function __construct($member)
	{
		$this->member = MembersQuery::create()->findOneByUsername($member);
	}
	
	function get_id()
	{
		return $this->member->getId();
	}
	
	function get_level()
	{
		return User::MEMBER;
	}
}
?>